settings.outformat = "pdf";
import graph;
unitsize(0.9cm);
real f(real x) { return sin(x) * cos(57 * x); }
path g = graph(f, 0, pi);
draw(g);